//
//  NSDictionary+DZCategory.h
//
//
//  Created by Darren on 15/6/16.
//
//

#import <Foundation/Foundation.h>

@interface NSDictionary (DZCategory)
- (NSString *)dz_stringForKey:(NSString *)strKey;
- (NSArray *)dz_arrayForKey:(NSString *)strKey;
- (NSDictionary *)dz_dictForKey:(NSString *)strKey;

- (NSMutableArray *)dz_modelsForArrayKey:(NSString *)strKey
                          modelClassName:(NSString *)model
                                  except:(NSArray *)except
                                   block:(void (^)(NSDictionary *dictInner, id model))block;

- (id)dz_modelForInstance:(id)instance;

- (id)dz_modelForDictKey:(NSString *)strKey
          modelClassName:(NSString *)model
           modelInstance:(id)modelIns
                  except:(NSArray *)except
                   block:(void (^)(NSDictionary *dictInner, id model))block;
-(NSString*)urlEncodedString;

@end
